package com.yyl.fmall.product.service;

import com.yyl.fmall.product.entity.ProductComments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yyl.fmall.product.vo.ProductCommentsCountVo;
import com.yyl.fmall.product.vo.ProductDetailCommentsVo;

/**
 * <p>
 * 商品评价  服务类
 * </p>
 *
 * @author YuanSir
 * @since 2022-11-07
 */
public interface IProductCommentsService extends IService<ProductComments> {
    
    ProductCommentsCountVo getDetailCommentCount(String productId);
    
    ProductDetailCommentsVo getDetailComments(String productId, Long pageNum, Long limit);
}
